<?php
//

return [
	'自定义路由'=>true,
	'post过滤'=>true,
	'测试模式'=>true,
	'第三方库'=>true,

	'workerman'=>[
		'http'=>'http://0.0.0.0',
		'port'=>'80',
		'thread'=>'4'
	],

	'db'=>[
		'database_type'		=>	'mysql',
		'database_name'		=>	'ucms',
		'server'			=>	'127.0.0.1',
		'username'			=>	'ucms',
		'password'			=>	'siGGASJfCBrcrwNM',
		'charset'			=>	'utf8',
		'port'				=>	3306,
		'prefix'			=>	'mtfy_'
	],
	'cache'=>[
		'start'			=>true,
		'type'          => 'file',//[file, memcache, redis]
		'pre'           => 'mtfy',
		'host'			=>'127.0.0.1',
		'port'			=>'6379',
		'dir'			=>'data'
	],
	'upload'=>[
		'fileName'=>'file',//文件域名称
		'savePath'=>公共目录.DIRECTORY_SEPARATOR.'upload'.DIRECTORY_SEPARATOR,//保存文件地址
		'showPath'=>'/upload/',
		'saveName'=>M_order(),
		'maxSize'=>1024,//附件上传大小
		'fileType'=>'image/png,image/jpeg,image/pjpeg,image/x-png,image/gif',//设置附件上传类型
		'fileExt'=>'jpg,gif,png',//允许上传文件的扩展名
		'err'=>'',
	],
	'session'=>[
		'start'=>true,
		'type'=>'file',//session type  [file, memcache, redis]
		'host'=>'tcp://127.0.0.1:6379',//session host [memcache 11211 redis 6379]
		'dir'=>'session'
	],
	'tpl'=>[
		'tplcachetime'	=>0,
		'tplstart'	=>'#{',
		'tplend'	=>'}',
		'tplcachedir'=>'tpl',
		'type'=>'dir',//file
	],
];